Generated by
JDiff

Interface org.globalplatform.SecureChannel

Documentation changed from old to new.

Changed Methods
short decryptData(byte[], short, short) Documentation changed from old to new.
Decrypts sensitive user data.
short encryptData(byte[], short, short) Change in exceptions thrown from java.lang.ArrayIndexOutOfBoundsException to javacard.framework.ISOException.
Documentation changed from old to new.
Encrypts sensitive user data.
byte getSecurityLevel() Documentation changed from old to new.
Gets the Current Security Level.
short processSecurity(APDU) Documentation changed from old to new.
Processes security related APDU commands, that is, APDU commands relating to the underlying security protocol.
void resetSecurity() Documentation changed from old to new.
Terminates the current Secure Channel Session.
short unwrap(byte[], short, short) Documentation changed from old to new.
Verifies and removes the security protection of an incoming APDU command according to the Current Security Level.
short wrap(byte[], short, short) Change in exceptions thrown from (java.lang.ArrayIndexOutOfBoundsException, javacard.framework.ISOException) to javacard.framework.ISOException.
Documentation changed from old to new.
Computes and adds security protection to an outgoing APDU response according to the Current Security Level.
 

Changed Fields
byte ANY_AUTHENTICATED Documentation changed from old to new.
Entity Any Authentication has occurred (0x40).
byte AUTHENTICATED Documentation changed from old to new.
Entity Authentication has occurred as Application Provider (0x80).
byte C_DECRYPTION Documentation changed from old to new.
The .unwrap method will decrypt incoming command data (0x02).
byte C_MAC Documentation changed from old to new.
The .unwrap method will verify the MAC on an incoming command (0x01).
byte NO_SECURITY_LEVEL Documentation changed from old to new.
Entity Authentication has not occurred (0x00).
byte R_ENCRYPTION Documentation changed from old to new.
The .wrap method will encrypt the outgoing response data (0x20).
byte R_MAC Documentation changed from old to new.
The .wrap method will generate a MAC for the outgoing response data (0x10).